{{- $url := .Destination | safeURL -}}
<a href="{{if hasPrefix $url "/"}}{{$url | relURL}}{{else}}{{$url}}{{end}}"{{with .Title}} title="{{.}}"{{end}}>{{.Text | safeHTML}}</a>
{{- /* Chomp trailing newline. */ -}}
